import { _decorator, Component, director, Node } from 'cc';
import { Root } from '../Root';
const { ccclass, property } = _decorator;

@ccclass('Menu2')
export class Menu2 extends Component {
    start() {
    }

    btn1(){
        Root.Inst.setSceneLv(1);
        Root.Inst.loadNextLv();
        console.log("btn1");
    }
    btn2(){
        console.log("btn2");
    }
}


